package com.zzl.logger;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class TestLog4J {
	private static Logger logger = LogManager.getLogger("TestLog4J");  
    public static void main(String[] args) {  
        MyApplication myApplication =  new MyApplication();  
          
   //     logger.entry();  
        logger.info("Hello, World!");   
        myApplication.doIt();  
        logger.error("Hello, World!");  
   //     logger.exit();  
    }  

}